package com.svse.designPattern.behaviour.command.invoker;

import com.svse.designPattern.behaviour.command.command.Code;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/8/6 20:47
 */
public class GroupLeader {
    private Code code;

    public GroupLeader(Code code) {
        this.code = code;
    }

    public Code getCode() {
        return code;
    }


    public void codeing(){
        code.codeing();
    }
}
